home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
C-D
/
DeveloperStax.cpt
/
Developer Stack 1.2r
/
card_18515.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
9KB
|
140 lines
-- card: 18515 from stack: in.2r
-- bmap block id: 0
-- flags: 0000
-- background id: 16981
-- name: Functions
-- part contents for background part 11
----- text -----
5
-- part contents for background part 1
----- text -----
Functions
-- part contents for background part 12
----- text -----
•••••••••••••••••••••••••••••
the abs of <number> --returns the absolute value of <number>
abs (<number>)
•••••••••••••••••••••••••••••
the annuity of <rate>, <periods> --computes present or future values of ordinary annuity.
annuity (<rate>,<periods>) --<rate> is interest rate, <periods> is # of periods.
•••••••••••••••••••••••••••••
the atan of <number> --returns the trigonometric arc tangent of <number>
atan (<number>)
•••••••••••••••••••••••••••••
average (<list>) --returns the average of number in list.
•••••••••••••••••••••••••••••
the charToNum of <character> --returns ASCII equivalent of <character>
•••••••••••••••••••••••••••••
the clickLoc --returns the locations of the most recent mouse click as "h,v"
•••••••••••••••••••••••••••••
the commandKey --returns "up" or "down"
•••••••••••••••••••••••••••••
compound (<rate>,<periods>) --computes present or future value of a compound interest
--bearing account.
•••••••••••••••••••••••••••••
the cos of <angle> --returns the cosine of <angle>
cos(<angle>)
•••••••••••••••••••••••••••••
the [ <modifier> ] date --<modifier> is long, short, abbreviated, or abbrev.
--returns a string representing the current date set in the Mac.
•••••••••••••••••••••••••••••
the exp of <number> --returns the mathematical exponential of <number>
exp (<number>)
•••••••••••••••••••••••••••••
the exp1 of <number> --returns 1 less than the mathematical exponential of <number>
exp1(<number>)
•••••••••••••••••••••••••••••
the exp2 of <number> --returns the value of 2 rasied to the power <number>
exp2 (<number>)
•••••••••••••••••••••••••••••
the length of <source> --returns the number of characters in <source>
length (<source>)
•••••••••••••••••••••••••••••
the ln of <number> --returns the base-e or natural logarithm of <number>
ln (<number>)
•••••••••••••••••••••••••••••
the ln1 of <number> --returns the base-e or natural logarithm of 1 pluse <number>
ln1 (<number>)
•••••••••••••••••••••••••••••
the log2 of <number> --returns the base-2 logarithm of <number>
log2 (<number>)
•••••••••••••••••••••••••••••
max (<list>) --returns the highest-value number from <list>
•••••••••••••••••••••••••••••
min (<list>) --returns the lowest-value number from <list>
•••••••••••••••••••••••••••••
the mouse --returns "up" or "down"
•••••••••••••••••••••••••••••
the mouseclick --returns "true" or "false"
•••••••••••••••••••••••••••••
the mouseH --returns the horizontal location of mouse pointer
•••••••••••••••••••••••••••••
the mouseLoc --returns the point where mouse pointer is located as "h,v"
•••••••••••••••••••••••••••••
the mouseV --returns the vertical location of mouse pointer
•••••••••••••••••••••••••••••
[ the ] number of [ background ] buttons --returns the number of background or card
[ the ] number of [ card ] fields --buttons or fields.
[ the ] number of backgrounds
[ the ] number of cards
[ the ] number of <chunks> in <source> --<chunks> = characters, words, items,lines
•••••••••••••••••••••••••••••
the numToChar of <source> --returns the character whose ASCII value is <source>
numToChar (<source>)
•••••••••••••••••••••••••••••
offset (<string>,<source>) --returns the number of characters from the beginning
--of the <source> string at which string begins.
•••••••••••••••••••••••••••••
the optionKey --returns "up" or "down"
•••••••••••••••••••••••••••••
the param of <source> --returns a parameter value from the parameter list passed to the
param (<source>) --currently executing handler.
•••••••••••••••••••••••••••••
the paramCount --returns number of parameters passed to currently executing handler
•••••••••••••••••••••••••••••
the params --returns entire parameter list, including message name
•••••••••••••••••••••••••••••
the random of <source> --returns a randome integer between 1 and <source>
random (<source>)
•••••••••••••••••••••••••••••
the result --returns text string containing an explanation of the error from the
--previously executed command.
•••••••••••••••••••••••••••••
the round of <source> --returns the <source> number rounded off to nearest integer.
round (<source>)
•••••••••••••••••••••••••••••
the seconds --returns an interger showing the number of seconds between Midnight,
the secs --Jan 1, 1904 and the current time set on the Mac.
•••••••••••••••••••••••••••••
the shiftKey --returns "up" or "down"
•••••••••••••••••••••••••••••
the sin of <angle> --returns the sine of <angle>
sin (<angle>)
•••••••••••••••••••••••••••••
the sound --returns the name of the sound resource currently playing
•••••••••••••••••••••••••••••
the sqrt of <number> --returns the square root of <number>
sqrt (<number>)
•••••••••••••••••••••••••••••
the target --returns a string indicating the original recipient of the message.
•••••••••••••••••••••••••••••
the ticks --returns an integer representing the number of ticks (1/60th of a second)
--since the Mac was turned on or restarted.
•••••••••••••••••••••••••••••
the time --returns the time as a text string.
the short time
the long time
•••••••••••••••••••••••••••••
the tool --returns the name of the currently selected tool
•••••••••••••••••••••••••••••
the trunc of <number> --returns the integer part of <number>
trun (<number>)
•••••••••••••••••••••••••••••
the value of <source> --evaluates <source> as an expression
value (<source>)
•••••••••••••••••••••••••••••